package cn.jcet;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.apache.shiro.crypto.hash.Md5Hash;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author 鲜磊
 * @Date 2021/1/12 23:51
 */
@SpringBootApplication
@MapperScan(basePackages = "cn.jcet.mapper")
//@EnableDubbo
public class SystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class,args);
       System.out.println("主系统启动成功");

        /**
         * 密码 02f80d33e1e8aad07fa46280b36d0522
         * salt 81BF9FF7C91B47A491B76615E408E234
         */
//        Md5Hash hash = new Md5Hash("123456", "81BF9FF7C91B47A491B76615E408E234", 2);
//        System.out.println(hash.toHex());
//
//        Md5Hash hash2 = new Md5Hash("001001", "81BF9FF7C91B47A491B76615E408E234", 2);
//        System.out.println(hash2.toHex());

    }

}
